//
//  BaseCellTabViewCell.m
//  dd
//
//  Created by hanweiguang on 2019/1/30.
//  Copyright © 2019年 hanweiguang. All rights reserved.
//

#import "BaseTableViewCell.h"

@interface BaseTableViewCell()
    
    @property(nonatomic,strong) UILabel *customDetailLabel;//label
    
    @end

@implementation BaseTableViewCell
    
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
    {
        if(self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]){
            [self setupUI];
        }
        return self;
    }
#pragma mark ————— 初始化页面 —————
- (void)setupUI
    {
        
    }
    
-(void)setCustomDetailText:(NSString *)customDetailText{
    _customDetailText = customDetailText;
    self.customDetailLabel.text = customDetailText;
}
    
-(UILabel *)customDetailLabel{
    if (!_customDetailLabel) {
        _customDetailLabel = [UILabel new];
      
    }
    return _customDetailLabel;
}
    @end
